package cn.edu.tyu.cs;

import java.util.Scanner;

public class UserDao {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        System.out.println("请输入用户名：");
        String user = scanner.nextLine();
        System.out.println("请输入密码：");
        String password = scanner.nextLine();
        if(user.equals("过犹不及")&&password.equals("123456")){
            System.out.println("登录成功！");
        }else{
            System.out.println("登录失败!");
        }

        int i=0;
        System.out.println(i);

    }

}
